class CreateMarcas < ActiveRecord::Migration
  def self.up
    create_table :marcas do |t|
      t.column :familia_id, :integer
      t.column :empresa_id, :integer
      t.column :categoria_id, :integer
      t.column :nombre, :string
      t.column :status_id, :integer
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
      
    end
  end

  def self.down
    drop_table :marcas
  end
end
